package com.taiji.redispractise.util;

import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class ListUtil  {
    /**
     * List转String
     * @return
     */
    public String listToString(List list){
        return String.join(",", list);

    }
}
